<!DOCTYPE html>
<html>

<head>
	<meta charset="UTF-8">
	<title>apk管理</title>
<link rel="stylesheet" href="/scriptZIP/layui.min.css">
	<link rel="stylesheet" href="../css/common2.css">
	<link rel="stylesheet" href="../css/layui.css" />
	<style>
		.layui-row {
			margin-top: 50px;
		}
	</style>
</head>

<body>

	<div class="layui-row" id="vue-root">
		<div></div>
		<div class="layui-col-md6 layui-col-md-offset3">

			<div class="layui-form-item">
				<label class="layui-form-label">应用名称</label>
				<div class="layui-input-block">
					<input name="apkName" v-validate="'required'" autocomplete="off" placeholder="请输入应用名称"
						class="layui-input name" v-model="item.name">
					<div class="checkout_state" v-text="err('apkName')"></div>
				</div>
			</div>
			<div class="layui-form-item">
				<label class="layui-form-label">包名</label>
				<div class="layui-input-block">
					<input name="apkCode" v-validate="'required'" autocomplete="off" placeholder="请输入包名"
						class="layui-input tag" v-model="item.pkgName">
					<div class="checkout_state" v-text="err('apkCode')"></div>
				</div>
			</div>

			<div class="layui-form-item">
				<label class="layui-form-label">描述</label>
				<div class="layui-input-block">
					<textarea placeholder="请输入描述" name="feature" data-vv-as="描述" class="layui-textarea text"
						v-model="item.remark"></textarea>
				</div>
			</div>

			<div class="layui-form-item">
				<label class="layui-form-label">是否校安家园的</label>
				<div class="layui-input-block">
					<input type="checkbox" class="checkbox" v-model="item.xajy" />
				</div>
			</div>

			<div class="layui-form-item">
				<label class="layui-form-label">是否开启</label>
				<div class="layui-input-block">
					<input type="checkbox" class="checkbox" v-model="item.open" />
				</div>
			</div>

			<div class="layui-form-item">
				<div class="layui-input-block">
					<div class="offer" @click="submit">立即提交</div>
					<div class="return" onclick="history.back()">取消</div>
				</div>
			</div>
		</div>
	</div>

	<script src="/scriptZIP/qs.min.js"></script>
	<script src="/scriptZIP/vue.min.js"></script>


	<script src="/scriptZIP/axios.min.js"></script>

	<script src="/js/common.js"></script>
	<script src="/js/item.js"></script>

	<script>
		var app = new Vue(merge({
			data: {
				url: '/pc/apk',
				item: {
					open: true
				}
			}
		}));

	</script>
</body>

</html>